package com.crois.barrier.common.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;

@NoArgsConstructor
@Data
public class StatisticsSend implements Serializable {

    private static final long serialVersionUID = 2405172041950251807L;

    private String ip;

    private Integer routeId;

    private String method;

    private String routeName;

    private String requestPath;

    private int number;

    public StatisticsSend(String ip, Integer routeId, String routeName, String requestPath,String method) {
        this.ip = ip;
        this.routeId = routeId;
        this.routeName = routeName;
        this.requestPath = requestPath;
    }

    public StatisticsSend(String ipAddress, String requestPath) {
        this.ip = ipAddress;
        this.requestPath = requestPath;
    }
}
